<!DOCTYPE html>
<html>
<head>
    <title>消息推送</title>
    #parse("sys/header.html")

    <link href="${rc.contextPath}/css/glass/message/sendmessage.css" rel="stylesheet">
    <!--<link href="/css/glass/glass/font-awesome.min.css" rel="stylesheet">-->


    <!--<script charset="utf-8"-->
    <!--src="https://trust.baidu.com/vcard/v.js?siteid=9108779&amp;url=https%3A%2F%2Fwww.jiguang.cn%2Fpush%2Fapp%2Fdb1f3037515df21a53a976a4%2Fpush%2Fcustom_notification&amp;source=&amp;rnd=1580937564&amp;hm=1"></script>-->
    <!--<script src="//hm.baidu.com/hm.js?189b62428f8aeea0cad9dcf521847b22"></script>-->
    <script src="${rc.contextPath}/statics/plugins/angularjs/angular.min.1.4.js"></script>
    <script src="${rc.contextPath}/statics/plugins/angularjs/angular-animate.min.js"></script>
    <script src="${rc.contextPath}/statics/plugins/angularjs/angular-translate.min.js"></script>
    <script src="${rc.contextPath}/statics/plugins/angularjs/ui-bootstrap-tpls-0.14.3.min.js"></script>
    <script src="${rc.contextPath}/statics/plugins/angularjs/angular-sanitize.min.js"></script>
    <script src="${rc.contextPath}/statics/libs/base64.js"></script>
    <script src="${rc.contextPath}/statics/libs/jquery.qtip.min.js"></script>
    <script src="${rc.contextPath}/js/glass/message/store.min.js"></script>
    <script src="${rc.contextPath}/js/glass/message/dateFormat.js"></script>
    <script src="${rc.contextPath}/js/glass/message/select2.min.js"></script>
    <script src="${rc.contextPath}/js/glass/message/message_common.js"></script>
    <script src="${rc.contextPath}/js/glass/message/send_message.js"></script>


</head>


<body>

<div id="base-main" style="min-height: 1087px;">

    <div class="right">
        <div class="content" style="min-height: 282px">
            <div class="base-main1 base-main-block ng-scope" ng-app="push_form"
                 ng-controller="form">
                <div class="outer-wrapper">
                    <div class="error ng-hide" ng-show="errorCode!=0">
                        <img src="${rc.contextPath}/img/error.png">
                        <div class="error-content">
                            <div class="error-header ng-binding"
                                 ng-bind="error_suggest[errorCode]['error']"></div>
                            <div class="error-info">
                                <ul ng-bind-html="error_suggest[errorCode]['suggest']"
                                    class="ng-binding"></ul>
                            </div>
                        </div>
                    </div>
                    <div class="error ng-hide" ng-show="overLong.is">
                        <img src="${rc.contextPath}/img/error.png">
                        <div class="error-content">
                            <div class="error-header ng-binding" ng-bind="overLong.error"></div>
                            <div class="error-info">
                                <ul ng-bind-html="overLong.suggest" class="ng-binding"></ul>
                            </div>
                        </div>
                    </div>
                    <div class="center-block-global-title">
                        自定义消息<br> <br> <span
                            style="font-size: 12px; color: red;">添加/更新应用,推送内容:updateApp,可选参数:apk下载地址<br>删除应用,推送内容:deleteApp,可选参数:apk的包名<br>推送文件,推送内容:pushFile
								可选参数:文件地址<br>推送文字,推送内容:pushText
							</span>
                    </div>
                    <div class="content-inner">
                        <script type="text/ng-template" id="info_modal_tpl">
                            <div class="custom-modal-content">
                                <div class="custom-modal-header">
                                    <button type="button" class="close modal-header-close-btn" ng-click="cancel()">
                                        <span>&times;</span></button>
                                    <span class="modal-title">{{hintTitle}}</span>
                                </div>
                                <div class="custom-modal-body">
                                    <p class="confirm-hint-text">{{hintText}}</p>
                                    <div class="action-group">
                                        <button ng-if='show_confirm' type="button"
                                                class="btn btn-global-blue custom-btn" ng-click="confirm()">
                                            {{confirmText}}
                                        </button>
                                        <button type="button" class="btn btn-global-default custom-btn"
                                                ng-click="cancel()">{{cancelText}}
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </script>
                        <script type="text/ng-template" id="error_modal_tpl">
                            <div class="custom-modal-content">
                                <div class="custom-modal-header">
                                    <button type="button" class="close modal-header-close-btn" ng-click="cancel()">
                                        <span>&times;</span></button>
                                    <span class="modal-title">{{hintTitle}}</span>
                                </div>
                                <div class="custom-modal-body">
                                    <p class="error-hint-block">{{hintText}}</p>
                                </div>
                            </div>
                        </script>
                        <div class="content-item push-content">
                            <div class="sub-header-title">
                                <span class="horizontal-line"></span> <span class="text">推送内容</span>
                            </div>
                            <div class="ng-scope" ng-controller="push_content">
                                <div class="content_input ng-scope" ng-controller="content_input">
                                    <textarea ng-trim="false" ng-model="content"
                                              class="input-global-blue-shadow ng-pristine ng-untouched ng-valid"
                                              id="alert_content"></textarea>

                                </div>
                            </div>
                        </div>
                        <div class="content-item push-object ng-scope"
                             ng-controller="push_object">
                            <div class="sub-header-title">
                                <span class="horizontal-line"></span> <span class="text">推送对象</span>
                            </div>
                            <div class="push-object-main">
                                <div style="display: none;">
                                    <div class="target-header">目标平台（必选）</div>
                                    <div class="target-plattform clear">
                                        <ul>


                                            <li
                                                    ng-class="{disable:platform.indexOf('i')==-1,selected:platform.indexOf('i')>-1&amp;&amp;select_list.indexOf(1)>-1}"
                                                    ng-click="select(1,'i')" class="disable"><i
                                                    class="fa fa-apple apple-icon"></i> <span>iOS</span> <span
                                                    class="vertical-separate-line"></span></li>


                                            <li ng-click="select(3,'a')"
                                                ng-class="{disable:platform.indexOf('a')==-1,selected:platform.indexOf('a')>-1&amp;&amp;select_list.indexOf(3)>-1}">
                                                <i class="fa fa-android android-icon"></i> <span>Android</span>
                                            </li>


                                        </ul>
                                    </div>
                                </div>
                                <div>
                                    <div class="target-header">目标人群</div>
                                    <div class="target-people"
                                         click-anywhere-but-here="checkEmptyTag()">
                                        <div class="people-option">
                                            <ul>
                                                <li
                                                        ng-class="{cur:cur==4}" ng-mousedown="tab(4,$event)"
                                                        ng-click="emptyInput.tag = false" class="cur">广播（所有人）
                                                </li>
                                                <li ng-class="{cur:cur==2}" ng-mousedown="tab(2,$event)"
                                                    ng-click="emptyInput.tag = false">设备标签（Tag）
                                                </li>
                                                <li ng-class="{cur:cur==3}" ng-mousedown="tab(3,$event)"
                                                    ng-click="emptyInput.tag = false">设备别名（Alias）
                                                </li>
                                            </ul>

                                        </div>
                                        <div ng-show="cur==4" class="broadcast-tip">将向应用所有的注册用户推送此消息</div>
                                        <div class="select-target">
                                            <div class="wrap-detail up-arrow pos1 ng-hide"
                                                 ng-class="{pos1:cur==4,pos2:cur==2,pos3:cur==3,pos4:cur==5,pos5:cur==6, 'empty-input-red-border':emptyInput.tag}"
                                                 ng-show="cur!=4 &amp;&amp; cur!=6" ng-click="focus_input()"
                                                 ng-attr-index="{{cur}}" index="4">
                                                <ul>
                                                    <li ng-repeat="item in tag_list track by $index"
                                                        ng-show="cur==2" class="ng-scope"><span
                                                            ng-bind="item" class="ng-binding"></span> <i
                                                            class="close-icon" ng-click="remove(tag_list,$index)">×</i>
                                                    </li>
                                                    <li ng-repeat="item in alias track by $index"
                                                        ng-show="cur==3" class="ng-scope"><span
                                                            ng-bind="item" class="ng-binding"></span> <i
                                                            class="close-icon" ng-click="remove(alias,$index)">×</i>
                                                    </li>
                                                    <!-- 														ngRepeat: item in tag_list track by $index -->
                                                    <!-- 														ngRepeat: item in alias track by $index -->
                                                    <!-- 														ngRepeat: item in regis_id track by $index -->

                                                    <li><input type="text" id="tag-input-add"
                                                               class="add-input ng-pristine ng-untouched ng-valid ng-valid-maxlength"
                                                               ng-attr-placeholder="{{cur==2?'添加标签,并按enter键添加 ':cur==3?'添加别名,并按enter键添加':cur==5?'添加Registration ID,并按enter键添加':'添加用户分群名称,并按enter键添加'}}"
                                                               ng-model="input" ng-keypress="add($event)"
                                                               ng-keydown="del_by_keyboard($event)"
                                                               ng-keyup="show_tip_or_del($event); emptyInput.tag = false"
                                                               maxlength="40" ng-paste="paste($event)"
                                                               placeholder="添加标签,并按enter键添加 "></li>
                                                </ul>
                                            </div>
                                            <div class="search-tags ng-hide"
                                                 ng-show="cur==2&&tag_show.length>0&&input!=''"
                                                 ng-style="{top:top}" style="top: 30px;">
                                                <ul>
                                                    <li class="search-item ng-binding ng-scope"
                                                        ng-class="{cur:tag_cursor==$index}"
                                                        ng-repeat="tag in tag_show track by $index" ng-bind="tag"
                                                        ng-click="select_tag(tag)" ng-mouseup="select_tag(tag)">${tag}
                                                    </li>
                                                    <!-- ngRepeat: tag in tag_show track by $index -->
                                                </ul>
                                            </div>

                                        </div>
                                        <div ng-show="cur == 6" class="ng-hide">
                                            <select id="segmentValue"
                                                    class="up-arrow select2-hidden-accessible" width="100%"
                                                    tabindex="-1" aria-hidden="true">
                                                <option value=""></option>
                                                <!-- ngRepeat: seg in seg_list track by $index -->
                                            </select><span
                                                class="select2 select2-container select2-container--default"
                                                dir="ltr" style="width: 100%;"><span
                                                class="selection"><span
                                                class="select2-selection select2-selection--single"
                                                role="combobox" aria-haspopup="true" aria-expanded="false"
                                                tabindex="0"
                                                aria-labelledby="select2-segmentValue-container"><span
                                                class="select2-selection__rendered"
                                                id="select2-segmentValue-container"><span
                                                class="select2-selection__placeholder">请选择一个用户分群</span></span><span
                                                class="select2-selection__arrow" role="presentation"><b
                                                role="presentation"></b></span></span></span><span
                                                class="dropdown-wrapper"
                                                aria-hidden="true"></span></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="content-item push-time" style="display: none;">
                            <div class="sub-header-title">
                                <span class="horizontal-line"></span> <span class="text">发送时间</span>
                            </div>
                            <div class="push-time-main ng-scope" ng-controller="push_time">
                                <div class="push-time-tab" ng-attr-index="{{cur}}" index="1">
                                    <ul>
                                        <li ng-class="{cur:cur==1}" ng-click="tab(1,$event)"
                                            class="cur">立即
                                        </li>
                                        <li ng-class="{cur:cur==2}" ng-click="tab(2,$event)">定时</li>
                                    </ul>
                                </div>
                                <div class="schedule-time clear ng-hide" ng-show="cur==2">
                                    <ul>
                                        <li class="schedule-date up-arrow pos1"><input
                                                type="text" ng-model="deliveryDate" ng-click="focus($event)"
                                                readonly="" class="ng-pristine ng-untouched ng-valid">
                                        </li>
                                        <li ng-class="{'empty-input-red-border':emptyInput.pushTime}">
                                            <input type="text" ng-model="deliveryTime"
                                                   click-anywhere-but-here="checkEmptyPushTime()"
                                                   ng-keyup="checkEmptyPushTime()"
                                                   class="ng-pristine ng-untouched ng-valid">
                                        </li>
                                        <li>


                                            <div class="time-zone">（GMT+08:00）北京，香港，新加坡</div>
                                        </li>
                                    </ul>
                                    <div class="date-picker">
                                        <div ng-switch="datepickerMode" role="application"
                                             ng-keydown="keydown($event)" ng-model="tempStartDate"
                                             show-weeks="false" format-day-header="EEE" format-day="d"
                                             max-mode="day" data-ng-change="select()"
                                             ng-click="stop_propa($event)" datepicker-mode="'day'"
                                             min-date="minDate"
                                             class="date-dashboard ng-isolate-scope ng-valid ng-valid-date-disabled">
                                            <!-- ngSwitchWhen: day -->
                                            <table role="grid"
                                                   aria-labelledby="datepicker-10-6304-title"
                                                   aria-activedescendant="datepicker-10-6304-18"
                                                   ng-switch-when="day" tabindex="0">
                                                <thead>
                                                <tr>
                                                    <th>
                                                        <button type="button"
                                                                class="btn btn-default btn-sm pull-left"
                                                                ng-click="move(-1)" tabindex="-1">
                                                            <i class="glyphicon glyphicon-chevron-left"></i>
                                                        </button>
                                                    </th>
                                                    <th colspan="5">
                                                        <button
                                                                id="datepicker-10-6304-title" role="heading"
                                                                aria-live="assertive" aria-atomic="true" type="button"
                                                                class="btn btn-default btn-sm" ng-click="toggleMode()"
                                                                ng-disabled="datepickerMode === maxMode" tabindex="-1"
                                                                style="width: 100%;" disabled="disabled">
                                                            <strong class="ng-binding">October 2016</strong>
                                                        </button>
                                                    </th>
                                                    <th>
                                                        <button type="button"
                                                                class="btn btn-default btn-sm pull-right"
                                                                ng-click="move(1)" tabindex="-1">
                                                            <i class="glyphicon glyphicon-chevron-right"></i>
                                                        </button>
                                                    </th>
                                                </tr>
                                                <tr>
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Sunday" class="ng-binding">Su
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Monday" class="ng-binding">Mo
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Tuesday" class="ng-binding">Tu
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Wednesday" class="ng-binding">We
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Thursday" class="ng-binding">Th
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Friday" class="ng-binding">Fr
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                    <th ng-repeat="label in ::labels track by $index"
                                                        class="text-center ng-scope">
                                                        <small
                                                                aria-label="Saturday" class="ng-binding">Sa
                                                        </small>
                                                    </th>
                                                    <!-- end ngRepeat: label in ::labels track by $index -->
                                                </tr>
                                                </thead>
                                                <tbody>
                                                <!-- ngRepeat: row in rows track by $index -->
                                                <tr ng-repeat="row in rows track by $index"
                                                    class="ng-scope">
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-0" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">25</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-1" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">26</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-2" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">27</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-3" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">28</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-4" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">29</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-5" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">30</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-6" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">1</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                </tr>
                                                <!-- end ngRepeat: row in rows track by $index -->
                                                <tr ng-repeat="row in rows track by $index"
                                                    class="ng-scope">
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-7" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">2</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-8" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">3</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-9" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">4</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-10" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">5</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-11" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">6</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-12" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">7</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-13" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">8</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                </tr>
                                                <!-- end ngRepeat: row in rows track by $index -->
                                                <tr ng-repeat="row in rows track by $index"
                                                    class="ng-scope">
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-14" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">9</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-15" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">10</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-16" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">11</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-17" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1" disabled="disabled">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">12</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-18" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm btn-info active"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-info">13</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-19" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">14</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-20" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">15</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                </tr>
                                                <!-- end ngRepeat: row in rows track by $index -->
                                                <tr ng-repeat="row in rows track by $index"
                                                    class="ng-scope">
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-21" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">16</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-22" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">17</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-23" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">18</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-24" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">19</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-25" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">20</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-26" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">21</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-27" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">22</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                </tr>
                                                <!-- end ngRepeat: row in rows track by $index -->
                                                <tr ng-repeat="row in rows track by $index"
                                                    class="ng-scope">
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-28" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">23</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-29" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">24</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-30" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">25</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-31" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">26</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-32" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">27</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-33" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">28</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-34" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">29</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                </tr>
                                                <!-- end ngRepeat: row in rows track by $index -->
                                                <tr ng-repeat="row in rows track by $index"
                                                    class="ng-scope">
                                                    <!-- ngIf: showWeeks -->
                                                    <!-- ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-35" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">30</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-36" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding">31</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-37" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">1</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-38" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">2</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-39" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">3</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-40" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">4</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                    <td ng-repeat="dt in row track by dt.date"
                                                        class="text-center ng-scope" role="gridcell"
                                                        id="datepicker-10-6304-41" ng-class="::dt.customClass">
                                                        <button type="button" style="min-width: 100%;"
                                                                class="btn btn-default btn-sm"
                                                                ng-class="{'btn-info': dt.selected, active: isActive(dt)}"
                                                                ng-click="select(dt.date)" ng-disabled="dt.disabled"
                                                                tabindex="-1">
																	<span
                                                                            ng-class="::{'text-muted': dt.secondary, 'text-info': dt.current}"
                                                                            class="ng-binding text-muted">5</span>
                                                        </button>
                                                    </td>
                                                    <!-- end ngRepeat: dt in row track by dt.date -->
                                                </tr>
                                                <!-- end ngRepeat: row in rows track by $index -->
                                                </tbody>
                                            </table>
                                            <!-- end ngSwitchWhen: -->
                                            <!-- ngSwitchWhen: month -->
                                            <!-- ngSwitchWhen: year -->
                                        </div>
                                    </div>
                                </div>
                                <div click-anywhere-but-here="checkEmptySolidPush()"
                                     style="display: none;">
                                    <div class="solid-push">
                                        是否启用定速推送<input type="checkbox" ng-model="solid_push"
                                                       id="solid_push" class="ng-pristine ng-untouched ng-valid">定速推送
                                    </div>
                                    <div class="set-solid-push up-arrow ng-hide"
                                         ng-show="solid_push"
                                         ng-class="{'empty-input-red-border':emptyInput.solidPush}">
                                        <div class="inner">
                                            推送将分布在<input type="text" placeholder="0~1,440分钟"
                                                         class="ng-pristine ng-untouched ng-valid"
                                                         ng-model="durationTime" ng-keyup="checkEmptySolidPush()">分钟内完成
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="content-item option-settings ng-scope"
                             ng-controller="option-settings">
                            <div class="sub-header-title" ng-click="show_detail()">
                                <span class="horizontal-line"></span> <span class="text">可选设置<i
                                    class="toggle-arrow" ng-class="{open:open}"></i></span>
                            </div>
                            <div class="option-settings-main ng-hide" ng-show="open">
                                <div class="setting-fixed">
                                    <div class="set-reserve ng-hide">
                                        <div>
                                            <span>离线消息保留时长</span><i class="icon-question"
                                                                    data-hasqtip="0"></i>
                                        </div>
                                        <div class="wrap-select-option"
                                             click-anywhere-but-here="checkEmptyOfflinePush()">
                                            <select
                                                    class="select-option ng-pristine ng-untouched ng-valid"
                                                    ng-model="timeToLive"
                                                    ng-options="option.content for option in option_list track by option.value"
                                                    ng-class="{'empty-input-red-border':emptyInput.offlinePush}"
                                                    ng-change="checkEmptyOfflinePush(timeToLive)">
                                                <option
                                                        label="默认(1天)" value="86400" selected="selected">默认(1天)
                                                </option>
                                                <option label="0 - 不保留" value="0">0 - 不保留</option>
                                                <option label="1分钟" value="60">1分钟</option>
                                                <option label="10分钟" value="600">10分钟</option>
                                                <option label="1小时" value="3600">1小时</option>
                                                <option label="3小时" value="10800">3小时</option>
                                                <option label="12小时" value="43200">12小时</option>
                                                <option label="3天" value="259200">3天</option>
                                                <option label="10天" value="864000">10天</option>
                                                <option label="自定义" value="-1">自定义</option>
                                            </select>
                                            <div class="wrap-custom-ttl ng-hide"
                                                 ng-show="timeToLive.value==-1">
                                                <input type="text"
                                                       ng-class="{'empty-input-red-border':emptyInput.offlinePush}"
                                                       maxlength="6" ng-model="custom_ttl"
                                                       class="custom-ttl ng-pristine ng-untouched ng-valid ng-valid-maxlength"
                                                       placeholder="0~864,000秒"
                                                       ng-keyup="checkEmptyOfflinePush()"> <span>(秒)</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="extra-field">
                                        <div data-ng-show="key_list.length">
                                            <span>附加字段</span><i class="icon-question" data-hasqtip="1"></i>
                                        </div>
                                        <div id="extra-input">
                                            <ul>
                                                <!-- ngRepeat: key in key_list track by $index -->
                                                <li ng-repeat="key in key_list track by $index"
                                                    class="ng-scope"><input type="text" placeholder="键"
                                                                            ng-if="false"
                                                                            class="input-global-blue-shadow ng-pristine ng-untouched ng-valid"
                                                                            ng-attr-value="{{key}}"
                                                                            ng-model="key_list[$index]"
                                                                            value=""> <span ng-if="false"> ：</span>
                                                    <input
                                                            type="text"
                                                            class="input-global-blue-shadow ng-pristine ng-untouched ng-valid"
                                                            ng-attr-value="{{val_list[$index]}}"
                                                            ng-model="val_list[$index]" value=""> <!-- ngIf: !$first -->
                                                    <!-- ngIf: $last --> <i class="icon-remove ng-scope"
                                                                            ng-if="!$first"
                                                                            ng-click="del($index)"></i><i
                                                            class="icon-add ng-scope" ng-if="$last"
                                                            ng-click="add()"></i>
                                                    <!-- end ngIf: $last --></li>

                                                <!-- end ngRepeat: key in key_list track by $index -->
                                            </ul>
                                        </div>
                                    </div>
                                </div>


                            </div>
                        </div>
                        <div class="wrap-post">
                            <div class="push-btn ng-binding disable"
                                 ng-class="{disable:valid==0}" ng-click="post()"
                                 ng-bind="post_text">立即发送
                            </div>
                            <i ng-show="show_loading" class="ng-hide"></i>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    var app_data = {
        "iosDev": false,
        "appName": "上海鼎视科技",
        "iosPro": false,
        "platform": "a"
    };

    var push, appKey = 'db1f3037515df21a53a976a4', groupKey = '';
    var custom_push = '0';//通知or自定义消息

    var push_permis = {
        "parentId": '0',
        "history": ""
    }
    //动态设置样式
    $(".toggle-arrow").css("background-image", "url( ${rc.contextPath}/img/toggle-arrow.png)");
    $(".icon-add").css("background-image", "url( ${rc.contextPath}/img/icon_list.png)");
    $(".icon-remove").css("background-image", "url( ${rc.contextPath}/img/icon_list.png)");


</script>


</body>
</html>